package cn.abcsys.cloud.devops.monitor.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

//@Component("systemConfig")
@Configuration
@PropertySource(value="classpath:config/system.properties")
public class SystemConfig {
	@Value("${zabbix.server.url}")
	private String zabbixServer;
	@Value("${zabbix.user}")
	private String zabbixUser;
	@Value("${zabbix.pwd}")
	private String zabbixPwd;
	
	public String getZabbixServer() {
		return zabbixServer;
	}
	public void setZabbixServer(String zabbixServer) {
		this.zabbixServer = zabbixServer;
	}
	public String getZabbixUser() {
		return zabbixUser;
	}
	public void setZabbixUser(String zabbixUser) {
		this.zabbixUser = zabbixUser;
	}
	public String getZabbixPwd() {
		return zabbixPwd;
	}
	public void setZabbixPwd(String zabbixPwd) {
		this.zabbixPwd = zabbixPwd;
	}
}
